#@layout()


#define main()
<!-- 内容容器 -->
<div class="user-mine">
    <div class="layui-form layui-form-pane" style="display:block;">
        <form class="layui-form" method="post" action="/my/update">
            <input type="hidden" name="user.id" value="#(user.id??)" >
            <div class="layui-form-item">
                <label for="L_app" class="layui-form-label">姓名</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_app" required lay-verify="required" name="user.name" value="#(user.name??)" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_email" class="layui-form-label">邮箱</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_email" name="user.email" value="#(user.email??)" required lay-verify="email" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">邮箱务必填写正确</div>
            </div>

            <div class="layui-form-item">
                <button class="layui-btn" key="set-mine" lay-filter="createuser" lay-submit>确认修改</button>
            </div>
        </form>
    </div>

</div>
#end

#define css()
#end

#define js()
<script type="text/javascript">
    layui.use(['form'], function(){
        var form = layui.form()
        ,layer = layui.layer;
    });
</script>

#end
